//
//  XWMusicIndicator.m
//  CGWSWW
//
//  Created by lanou3g on 16/8/17.
//  Copyright © 2016年 CXG. All rights reserved.
//

#import "XWMusicIndicator.h"
#import "HeadHelp.h"
static id _indicator;
@implementation XWMusicIndicator


+ (instancetype)allocWithZone:(struct _NSZone *)zone
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _indicator = [super allocWithZone:zone];
    });
    return _indicator;
}

+ (instancetype)shareIndicator
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _indicator = [[self alloc] initWithFrame:CGRectMake(KScreen_Width - 44, 0, 44, 44)];
    });
    return _indicator;
}





@end
